package com.school.entity;

public class Notice {
    String title;
    String time;

    public Notice(String title, String time) {
        this.title = title;
        this.time = time;
    }

    public Notice() {
    }

    @Override
    public String toString() {
        return "Notice{" +
                "title='" + title + '\'' +
                ", date='" + time + '\'' +
                '}';
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }
}
